package cn.bearspark.comment.provider.dao.buffer;

import cn.bearspark.comment.provider.dao.key.LayerCommentBufferKeyBuilder;
import cn.bearspark.comment.provider.dao.mapper.LayerCommentMapper;
import cn.bearspark.framework.redis.starter.buffer.list.RedisPageListBuffer;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

/**
 * 层评论 id 集合的缓存器
 *
 * @author f
 */
@Component
public class LayerCommentIdPageListBuffer extends RedisPageListBuffer {

    public LayerCommentIdPageListBuffer(RedisTemplate<String, Object> redisTemplate,
                                        LayerCommentMapper layerCommentMapper,
                                        LayerCommentBufferKeyBuilder layerCommentBufferKeyBuilder) {
        super(
                redisTemplate,
                layerCommentMapper,
                layerCommentBufferKeyBuilder
        );
    }

}
